package com.ruoyi.web.controller.system;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysBoatEventlog;
import com.ruoyi.system.service.SysBoatEventlogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: zhangzhe
 * @Date: 2023/12/5
 */
@Api(tags = "无人船-操作事件")
@RestController
@RequestMapping("eventlog")
public class SysBoatEventlogController {

    @Resource
    SysBoatEventlogService sysBoatEventlogService;

    @ApiOperation("查询无人船-操作事件")
    @PostMapping("/getBoatEventlogList")
    public AjaxResult getBoatEventlogList(@RequestBody SysBoatEventlog param) {
        return sysBoatEventlogService.getBoatEventlogList(param);
    }
}
